package vip.web3.admin.sys.form.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import vip.web3.common.dto.BaseForm;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * aut-horlilei
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthPageForm extends BaseForm {
    private static final long serialVersionUID = 1L;

    private Integer page = 1;
    /**
     * 每页显示记录数
     */
    private Integer limit = 10;

    private String name;

    /**
     * 0 未实名, 1 已申请，2 未通过 3 已实名
     */
    @Min(value = 1, message = "实名认证状态只能是1,2")
    @Max(value = 2, message = "实名认证状态只能是1,2")
    private Integer authStatus;

}
